package store.domain;

import javax.persistence.*;
import java.io.Serializable;
import java.math.BigDecimal;

@Entity
@Table(name = "jos_jshopping_order_item")
public class OrderItem implements Serializable {
    private Integer orderItemId;
    private Integer orderId;
    private Integer productId;
    private String productEan;
    private String productName;
    private BigDecimal productQuantity;
    private BigDecimal productItemPrice;
    private BigDecimal productTax;
    private String productAttributes;
    private String productFreeattributes;
    private String attributes;
    private String freeattributes;
    private String extraFields;
    private String files;
    private BigDecimal weight;
    private String thumbImage;
    private String manufacturer;
    private Integer deliveryTimesId;
    private Integer vendorId;
    private BigDecimal basicprice;
    private String basicpriceunit;
    private String params;

    @Id
    @GeneratedValue
    @Column(name = "order_item_id")
    public Integer getOrderItemId() {
        return orderItemId;
    }

    public void setOrderItemId(Integer orderItemId) {
        this.orderItemId = orderItemId;
    }

    @Column(name = "order_id")
    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    @Column(name = "product_id")
    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    @Column(name = "product_ean")
    public String getProductEan() {
        return productEan;
    }

    public void setProductEan(String productEan) {
        this.productEan = productEan;
    }

    @Column(name = "product_name")
    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    @Column(name = "product_quantity")
    public BigDecimal getProductQuantity() {
        return productQuantity;
    }

    public void setProductQuantity(BigDecimal productQuantity) {
        this.productQuantity = productQuantity;
    }

    @Column(name = "product_item_price")
    public BigDecimal getProductItemPrice() {
        return productItemPrice;
    }

    public void setProductItemPrice(BigDecimal productItemPrice) {
        this.productItemPrice = productItemPrice;
    }

    @Column(name = "product_tax")
    public BigDecimal getProductTax() {
        return productTax;
    }

    public void setProductTax(BigDecimal productTax) {
        this.productTax = productTax;
    }

    @Column(name = "product_attributes")
    public String getProductAttributes() {
        return productAttributes;
    }

    public void setProductAttributes(String productAttributes) {
        this.productAttributes = productAttributes;
    }

    @Column(name = "product_freeattributes")
    public String getProductFreeattributes() {
        return productFreeattributes;
    }

    public void setProductFreeattributes(String productFreeattributes) {
        this.productFreeattributes = productFreeattributes;
    }

    @Column(name = "attributes")
    public String getAttributes() {
        return attributes;
    }

    public void setAttributes(String attributes) {
        this.attributes = attributes;
    }

    @Column(name = "freeattributes")
    public String getFreeattributes() {
        return freeattributes;
    }

    public void setFreeattributes(String freeattributes) {
        this.freeattributes = freeattributes;
    }

    @Column(name = "extra_fields")
    public String getExtraFields() {
        return extraFields;
    }

    public void setExtraFields(String extraFields) {
        this.extraFields = extraFields;
    }

    @Column(name = "files")
    public String getFiles() {
        return files;
    }

    public void setFiles(String files) {
        this.files = files;
    }

    @Column(name = "weight")
    public BigDecimal getWeight() {
        return weight;
    }

    public void setWeight(BigDecimal weight) {
        this.weight = weight;
    }

    @Column(name = "thumb_image")
    public String getThumbImage() {
        return thumbImage;
    }

    public void setThumbImage(String thumbImage) {
        this.thumbImage = thumbImage;
    }

    @Column(name = "manufacturer")
    public String getManufacturer() {
        return manufacturer;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer;
    }

    @Column(name = "delivery_times_id")
    public Integer getDeliveryTimesId() {
        return deliveryTimesId;
    }

    public void setDeliveryTimesId(Integer deliveryTimesId) {
        this.deliveryTimesId = deliveryTimesId;
    }

    @Column(name = "vendor_id")
    public Integer getVendorId() {
        return vendorId;
    }

    public void setVendorId(Integer vendorId) {
        this.vendorId = vendorId;
    }

    @Column(name = "basicprice")
    public BigDecimal getBasicprice() {
        return basicprice;
    }

    public void setBasicprice(BigDecimal basicprice) {
        this.basicprice = basicprice;
    }

    @Column(name = "basicpriceunit")
    public String getBasicpriceunit() {
        return basicpriceunit;
    }

    public void setBasicpriceunit(String basicpriceunit) {
        this.basicpriceunit = basicpriceunit;
    }

    @Column(name = "params")
    public String getParams() {
        return params;
    }

    public void setParams(String params) {
        this.params = params;
    }
}
